import { post } from '@/api/http'

// 列表查询
export const getSupplierList = (data) => post({ url: '/supplier/getList', data })

// 导出
export const supplierExportExcel = (data) => post({ url: '/supplier/exportExcel', data })

// 禁用启用
export const supplierChangeStatus = (data) => post({ url: '/supplier/changeStatus', data })

// 新增编辑
export const supplierSave = (data) => post({ url: '/supplier/save', data })

// 查询详情
export const supplierDetail = (data) => post({ url: '/supplier/detail', data })

// 列表查询多种供应商
export const getSupplierLists = (data) => post({ url: '/supplier/getListBySupplierNames', data })
